package com.ruoyi.assemble.fastloader.mapper;

import com.ruoyi.assemble.fastloader.model.QueryInfo;
import com.ruoyi.assemble.fastloader.model.TFileInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description TFileInfoMapper
 * @author 
 * @time 2022/8/31 15:45
 */
@Mapper
public interface TFileInfoMapper {

    /**
     * deleteByPrimaryKey
     *
     * @author 
     * @description deleteByPrimaryKey
     * @time 2022/8/31 15:47
     * @param id
     * @return int
     */
    int deleteByPrimaryKey(String id);

    /**
     * insert
     *
     * @author 
     * @description insert
     * @time 2022/8/31 15:48
 * @param record
     * @return int
     */
    int insert(TFileInfo record);

    /**
     * insertSelective
     *
     * @author 
     * @description insertSelective
     * @time 2022/8/31 15:48
     * @param record
     * @return int
     */
    int insertSelective(TFileInfo record);

    /**
     * selectByPrimaryKey
     *
     * @author 
     * @description selectByPrimaryKey
     * @time 2022/8/31 15:48
     * @param id
     * @return cn.fastloader.web.model.TFileInfo
     */
    TFileInfo selectByPrimaryKey(String id);

    /**
     * updateByPrimaryKeySelective
     *
     * @author 
     * @description updateByPrimaryKeySelective
     * @time 2022/8/31 15:48
     * @param record
     * @return int
     */
    int updateByPrimaryKeySelective(TFileInfo record);

    /**
     * updateByPrimaryKey
     *
     * @author 
     * @description updateByPrimaryKey
     * @time 2022/8/31 15:48
     * @param record
     * @return int
     */
    int updateByPrimaryKey(TFileInfo record);

    /**
     * selectFileByParams
     *
     * @author 
     * @description selectFileByParams
     * @time 2022/8/31 15:48
     * @param fileInfo
     * @return java.util.List<cn.fastloader.web.model.TFileInfo>
     */
	List<TFileInfo> selectFileByParams(TFileInfo fileInfo);

    /**
     * selectFileList
     *
     * @author 
     * @description selectFileList
     * @time 2022/8/31 15:51
 * @param query
     * @return java.util.List<cn.fastloader.web.model.TFileInfo>
     */
	List<TFileInfo> selectFileList(QueryInfo query);

}